<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="UTF-8">
<head th:include="includes/list-include :: list-header"></head>
<body class="gray-bg">

<div class="container-div">
    <div class="row">
        <div class="col-sm-12 search-collapse">
            <form id="myForm" class="form-inline">
                <div class="row">
                    <div class="form-group">
                        <div class="col-md-4">
                            <input type="text" id="tableName" name="tableName" placeholder="表名称" class="form-control">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-4">
                            <input type="text" id="tableComment" name="tableComment" placeholder="表注释" class="form-control">
                        </div>
                    </div>
                    <div class="form-group">
                        <a class="btn btn-info btn-rounded btn-rd" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;查询</a>
                        <a class="btn btn-warning btn-rounded btn-rd" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
                    </div>
                </div>
            </form>
        </div>

        <div class="btn-group-sm hidden-xs" id="toolbar" role="group">
            <a class="btn btn-success" onclick="batchGenCode()" shiro:hasPermission="tool:gen:code">
                <i class="fa fa-download"></i> 批量生成
            </a>
        </div>

        <div class="col-sm-12 select-table table-striped">
            <table id="bootstrap-table" data-mobile-responsive="true"></table>
        </div>
    </div>
</div>
<div th:include="includes/list-include :: list-footer"></div>
<script th:src="@{/script/tool/gen/gen.js}"></script>
<script th:inline="javascript">
    var prefix = ctx + "tool/gen";

</script>
</body>
</html>